from dataUtil import mongoConnect
import json

if __name__ == "__main__":
    with open("../labelMetaData/rulejson.json", 'r') as file:
        test_json = file.read()
        print(test_json)
        mongoConnect.insert_a_rule(json.loads(test_json))